package com.newer.service.lmpl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newer.dto.ApplyandDetailsDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newer.domain.Apply;
import com.newer.mapper.ApplyMapper;
import com.newer.service.ApplyService;
@Service
public class ApplyServiceImpl extends ServiceImpl<ApplyMapper, Apply> implements ApplyService{

    @Autowired
    private ApplyMapper applyMapper;

    @Override
    public Page<Apply> selectMaterial(Page page, String applyDate) {

        return this.applyMapper.selectApply(page,applyDate);
    }

    @Override
    public Page<ApplyandDetailsDto> seleceApplyandDetails(Page page, String applyid) {
        return this.applyMapper.seleceApplyandDetails(page,applyid);
    }
}
